package cn.com.bdqn.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "菜单类")
public class SysMenu {

  @ApiModelProperty(value = "菜单编号")
  private Long menuCode;

  @ApiModelProperty(value = "父菜单编号")
  private Long menuParentCode;

  @ApiModelProperty(value = "菜单类型")
  private String menuType;

  @ApiModelProperty(value = "菜单名")
  private String menuText;

  @ApiModelProperty(value = "菜单链接")
  private String menuUrl;

  @ApiModelProperty(value = "菜单提示")
  private String menuTip;

  @ApiModelProperty(value = "子菜单集合")
  private List<SysMenu> menus;

  @ApiModelProperty(value = "判断是否有权限")
  private Boolean isck;
}
